#ifndef  FFTCONST_H
#define FFTCONST_H

#define PI 3.14159

#define N_WAVE 1024 /* full length of Sinewave[] */
#define LOG2_N_WAVE 10 /* log2(N_WAVE) */
#define ADC_BITS 12 /*adc bits 8,10,11,12,16 by ligb 2017.04.17*/
typedef double myint;
typedef int myint2;
extern const myint2  Sinewave[N_WAVE-N_WAVE/4];


enum FFTmethod
{
    BYPRINTSINE=0,
    BYFIXFFT,
    BYFFT,
    BYFFTfixed,//my revision fixed FFT
    BYFFTCOMPLEX
}  mmethod;


#endif
